﻿<%@ Page Language="C#" MasterPageFile="~/Main/AdminPage.master" AutoEventWireup="true" CodeFile="ShopUpdate.aspx.cs" Inherits="Main_ShopUpdate" Title="修改店面" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="width:750px; line-height:35px;">
   <table style="width: 600px; margin:auto; font-size:14px; font-weight:bolder; color:#666; text-align:left; ">
        <tr>
            <td>
                店面名称:</td>
            <td>
                <asp:TextBox ID="txtname" runat="server" ValidationGroup="rfv1"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                领域:</td>
            <td>
                <asp:DropDownList ID="ddlfield" runat="server" AppendDataBoundItems="True" 
                    AutoPostBack="True" onselectedindexchanged="ddlfield_SelectedIndexChanged">
                    <asp:ListItem Value="0">--请选择--</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                类型:</td>
            <td>
                <asp:DropDownList ID="ddltype" runat="server">
                    <asp:ListItem Value="0">--请选择--</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                店面介绍:</td>
            <td>
                <asp:TextBox ID="txtintrduce" runat="server" TextMode="MultiLine" Width="400px" 
                    Height="300px"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td >
                优惠信息:</td>
            <td>
                <asp:TextBox ID="txtcontent" runat="server" TextMode="MultiLine" Width="400px" 
                    Height="300px"></asp:TextBox></td>
        </tr>
        <tr>
            <td >
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td >
                招聘信息:</td>
            <td>
                <asp:TextBox ID="txtjob" runat="server" TextMode="MultiLine" Width="400px" 
                    Height="300px"></asp:TextBox></td>
        </tr>
        <tr>
            <td >
                地址:</td>
            <td>
                <asp:TextBox ID="txtaddress" runat="server" Width="300px"></asp:TextBox></td>
        </tr>
        <tr>
            <td >
                联系电话:</td>
            <td>
                <asp:TextBox ID="txttel" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td >
                热度:</td>
            <td>
                <asp:DropDownList ID="ddlhot" runat="server" Width="156px">
                    <asp:ListItem Value="1">☆</asp:ListItem>
                    <asp:ListItem Value="2">☆☆</asp:ListItem>
                    <asp:ListItem Value="3">☆☆☆</asp:ListItem>
                    <asp:ListItem Value="4">☆☆☆☆</asp:ListItem>
                    <asp:ListItem Value="5">☆☆☆☆☆</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        
         <tr>
           <td>
               上传LOGO图片:</td>
           <td>
                    <asp:FileUpload ID="fulogo" runat="server" Width="240px" />
                    <asp:Button ID="btnuplogo" runat="server" OnClick="btnuplogo_Click"
                        Text="上传" /></td>
       </tr>
        <tr>
            <td>
                LOGO图片:</td>
            <td>
                <asp:Image ID="imglogo" runat="server" Width="200px" Height="150px"/></td>
        </tr>
       <tr>
            <td>
                上传第1张顶部图片:</td>
            <td>
                    <asp:FileUpload ID="futop1" runat="server" Width="240px" />
                    <asp:Button ID="btnuptop1" runat="server" OnClick="btnuptop1_Click"
                        Text="上传" /></td>
        </tr>
       <tr>
            <td>
                第1张顶部图片:</td>
            <td>
                 <asp:Image ID="imgtop1" runat="server" Width="450px" Height="120px"/></td>
        </tr>
         <tr>
            <td>
                上传第2张顶部图片:</td>
            <td>
                    <asp:FileUpload ID="futop2" runat="server" Width="240px" />
                    <asp:Button ID="btnuptop2" runat="server" OnClick="btnuptop2_Click"
                        Text="上传" /></td>
        </tr>
       <tr>
            <td>
                第2张顶部图片:</td>
            <td>
                <asp:Image ID="imgtop2" runat="server" Width="450px" Height="120px"/></td>
        </tr>
         <tr>
            <td>
                上传第3张顶部图片:</td>
            <td>
                    <asp:FileUpload ID="futop3" runat="server" Width="240px" />
                    <asp:Button ID="btnuptop3" runat="server" OnClick="btnuptop3_Click"
                        Text="上传" /></td>
        </tr>
       <tr>
            <td >
                第3张顶部图片:</td>
            <td>
                <asp:Image ID="imgtop3" runat="server" Width="450px" Height="120px"/></td>
        </tr>
       <tr>
           <td>
               上传经营执照:</td>
           <td>
                    <asp:FileUpload ID="fulicense" runat="server" Width="240px" />
                    <asp:Button ID="btnuplicense" runat="server" OnClick="btnuplicense_Click"
                        Text="上传" /></td>
       </tr>
        <tr>
            <td>
                经营执照:</td>
            <td>
                <asp:Image ID="imglicense" runat="server" Width="400px" Height="250px" /></td>
        </tr>
        <tr>
           <td>
               上传身份证:</td>
           <td>
                    <asp:FileUpload ID="fuidcard" runat="server" Width="240px" />
                    <asp:Button ID="btnupidcard" runat="server" OnClick="btnupidcard_Click"
                        Text="上传" /></td>
       </tr>
        <tr>
            <td>
                身份证:</td>
            <td>
                <asp:Image ID="imgidcard" runat="server" Width="400px" Height="250px" /></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="btnupdate" runat="server" Text="修改" onclick="btnupdate_Click" />
            </td>
        </tr>
    </table>
    </div>
</asp:Content>

